package com.hexacta.hrs.domain.feedback;

import java.util.Calendar;

import org.vectrics.common.db.AbstractRecordObject;

public class Period extends AbstractRecordObject {
	
	private Long id;
	
	private String year;
	
	private boolean closed = false;
	
	private Calendar creationDay;
	
	private Calendar closeDay = null;
	
	public Period() {
		super();
	}

	public Period(String year, Calendar creationDay) {
		super();
		this.year = year;
		this.creationDay = creationDay;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public boolean isClosed() {
		return closed;
	}

	public void setClosed(boolean closed) {
		this.closed = closed;
	}

	public Calendar getCreationDay() {
		return creationDay;
	}

	public void setCreationDay(Calendar creationDay) {
		this.creationDay = creationDay;
	}

	public Calendar getCloseDay() {
		return closeDay;
	}

	public void setCloseDay(Calendar closeDay) {
		this.closeDay = closeDay;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	
}
